package com.zhongli.devplatform.controller.sys;

import com.zhongli.devplatform.service.imp.common.ReadMenuService;
import com.zhongli.devplatform.bean.Res;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/menuIcon")
public class MenuIconController {

    @Autowired
    private ReadMenuService menuIconService;


    @RequestMapping("/list")
    public Res list() {
        return new Res(menuIconService.list());
    }

}
